Working

Still not quite sure what the set function is being used for