updated function so marker can move