implemented toString methods