Fixed Bugs And Added linker