almost working initial design