plenty of corner cases. why does sizeof works ?