added things from that guy's blog