reformatted according to phet style