give 0 when no white spaces
version 0.0.3