TODO: sizeof is not quite up to par
Fix sizeof parsing, add test case