moving all proc check func out