Basic hacked together code.