fixing bug with new methord