Added code to set empty as false when adding first item