now init, update and render functions in the logic object is optional