refactor; add profile build