updated as per script requirement