added process and validate to basic