added file permissions for .a file, start working from first protection printf statement