organized code and added style to the score