Modified Switch
modified proc for VFS