changed layouts for the two versions