average gaps and custom button