clean up
added actions to api