worked on cowboy rest interface.