changed print options and corrected validation