attempt at validating sentences
should be working now
consolidating utility functions
got secret working