added simplified delete function which takes order map as argument