corrected compile prob