added arrays and a user context var