added command class to pass first and last names