simplified code

Signed-off-by: mike connor <mike@rocketnumber9.org>