Reimplemeted bugets and added missing actions.