Applied K Stamp

Added the code for applying K Stamp