renamed method
changed argument order