adds rest of the fuctionality to drawer