Updated this to work and added link to detailed documentation