added drop functionality