redoing drawer logic