replaced slug stuff with instance methods