logged should be a static method