[Update] Adding direction by using var