shapes-internal function

Internal function(s)