compliing is ok, but bugs still unsolved