instaclient beetje refactor