Implemented if.