Added required to command func