modularized code for portability to future use