implemented create header, not working for now