contact fuctionality added but some problems