added tapsforphase[!] function