got rid of writer, typed errors