get withdraw functionality passing