modified argument passing after tests produced errors