added return to turnon fn