Fixed syntax bug and removed the try().