added gotoa-code to secd machine