created the bas layout