functionality moved to api.show