replaces code with placeholders, class ready