Got the method working, output terrible