replaced placeholders with labels