OubHack source code - feel free to c+p