switched type to rem