initial base functional code import