bugfix, forgot to add the object argument