change #get_id and #e404 to be instance methods