reduced everything to only answer code