added wave panel functionality