improove stamp! code