there was a better method for this (i only remember '~' ;)