code refactorting in contact section