removed unnecessary argument from method