adding references for compiling & some silly syntax fixes