changed all lst to list in imaging for clarity