refactored valid human input