There seems to be a few spaces here before the @ sign.  On space after declaring and if is standard.