add direction option