spaces added and an error fixed