Implement inputs and actions