moved basic value mapping function outside of table class
forgot to remove self argument