dictioanary fuctionality implementation