handle void returning methods