commited draft sys_perform function