validaterrj. needs testing