add dummy transform function
partially implement the drag function
partially implement the transform function