solution 1 can't assure relative position between elements, solution 2 can have this