updated
adding def shallow pass
adjusting