first draft
work on inputs