this seemed like less code :)