Working, will need maintenance for output