Programme beautification