removing used code