defining constructor

next time try to use less parameters