Move error function down one