Adapted form landing for my own purposes.