Started writing code for user land switch. It doesn't work