changed spacing and fixed syntax also added the next case