added list as a scope variable