Input blocks

Closes #3