add linear transition