reduce the number of repeated specs