add cursor and cursortrail