added storing of arguments