Added Power main handler