goto declaration for LAYOUT, fixes #39