first approach to compatibility engine