tested my functions