shelf management added.
TO-DO: sort shelf