removed anon cb functions