made functions. you can define output for given input. pretty cool