implementing single conversion