rebuild prototype