Implement endpoints

You should put this parameter int map.