added type to local var to suppress IDE warning