Separated logic from UI by creating Stamper class.