no need to pass class name as parameter