added amit's changes
Merge branch 'master' of https://github.com/yieldfirelabs/theswitch