modified preview layout