added i++ because I am stupid.