Creating a simple endpoint