removed findallpublic method