a4 updated with pretty ugly integer to string gymnastics