added smart test