Adding code to make an item of sessions