started implementing business logic