adding dp for overlap