Thread and user handeling fram made