Comitting changes to the class Swift