the horrible function
a horrible function