Extract to methods