Fix code for real world use