all actions implemented, works with simple example