add parsing methods