add method call and variable reference