Hooking up to correct layout