Move displayForm to separate function