date comparison done
making better methods