added second level & level switch system