how can i know when the zero crossing happen???