method definitions added