cleaned up old function prototypes