separate classes by spaces