added suppresslint for getSize() call