[IMP]:improved code