implementando as actions