dev: apparently it doesn't change anything, so commented out for now. also modified so it can work when re-enabled: use the $q->id instead of $questionarray that does not exists