Completed and tested conditional statement.