added basic logic file