phase 1

remove reg