updated dialer code