added basic business logic