started adding error messages to rendering setup