Forgot to set one "output"
Added tappos variable which still causes problems.