hopefully debugging done