make dynamic kayout