changed to kernel formatting and added some more documentation
changed format to kernel style
changed format to kernel style