completed typing integration. ready for testing