It works. Now with objects and a constructor