This is a project for smart switch