added SRL code as well