replaced margin left with variable