externalized function proptotypes