Formatted Code to Luke's liking