added functions for initial item placement