why is there empty hash as parameter?  Function is unintuitive or you don't pass user there