Changed my problem 4 string impl for a mathamatically one