On cycles in directed graphs