debugging further