passed local var to view from app