adding my functions