add showLines option