primitives check in constructor & toString