modified input layout