sets layout