Separated drop code out into own function