commented out functions
copied from kernel