Working on assigning elements to items and blocks