The present invention relates to novel compounds according to Formula Ior a pharmaceutically acceptable salt thereof wherein the variables are as defined in the claims. The compounds can be used as inhibitors of RORγ and are useful for the treatment of RORγ mediated diseases.