remove helper methods for testing