setMaxY method
cleanup