fixing init
changed actions to decorators