got basic output working