First version

Some useful stuff