use typescript a bit more