Added "$" before ('.function').

Syntax error! Syntax error! Added "$" before ('.function').