Preliminary input implementation.