shape testing before creating