one function to rule them all, all test except encore passed