trying to simplify variables, moved some printing out of bin and into the actual method