fixed and tested brute force. added dialAdd() function