added module API to loose ends