more code skeleton. Fixed latex headders