If-else added and relational operators