break scratch into scratch namespace