inline item creation, not sure I like this, would like to shrink this code