puts and gets now functional, apologies for not committing more