get current address functionality added