reduce sketch size

by removing unnecessary functions parametars