Added right implmentation for c