refractor layout