updated method definitions