use phase instead of time