add basic logic