made bayimg more readable