Added methods for API