removed unused actions, updated actions, added a test