replaced count number with constexpr defined earlier