identified bug with method 5 and 6