start working on emitting types