compile check instead of using old packages