working on cutoff bug