added void return types for many functions