added a tiny compile time check