change stmpd to class attribute