Trying this thing I found out on stack overflow