also needed for standalone app