methods written