2 years dating before marriage validating input output transformation