modified survey controllerto be more concise