methods moved after __init__