was using old function calls apparently