added bagop move functionality