improved typing by assuming void for params and return type