change sample layout