cleaned up printing and fixed max angles