tweaks
assertion for primitives and better printing of values