working on trap like computation