added appropriate comparison