I've never really liked these things and of course theres easier ways to do it but the first thing I noticed is a missing bracket at the end.