use sizeof instead of numbers