Working on making a faster method