everything but preview working