migrating methods from engine to specific classes