Added missing brackets, Thanks Christopher83 for finding it