new pen creation refactor