accepting answers almost working. Just rendering has to be fixed for proper users.