check used classes