prepare workspace