code is now even more b-e-a-utiful