working on bounds insertion