Skele code for API