working through custom range issues