Added a small condition test
update
update
Refactored
update