added a level switch will continue to work on it as it still is incomplete