engine actually does something, need to make sure it is right, but it does something