first commit, recording function calls and replaying them works somehow