Fixed Erics code, missing bracket :p