added scaling, good saving, left and right positioning