Simplified the API