threads
organizating code; declaring functions