added rwmse layer