possible uninitialized variables
add new function to header file