Create and use layout