corrected logic by mono sources