created factories for testing