Implemented Only-If statement