implementing $subject built-in variable