safer lhs design + emit warnings