working on octal swtich