part of a messaging app I wrote for another project