working through some reflection warnings