optimalized inputs