updated validate to use validate method in service