Adding proper implementation for void return type