working on making layout more dynamic