Added some basic logic stuff