filling layout and routes