moved rendering args to context