added some code for standalone-use