added poweron processing