add endpoint for returning feature data