tested goal code