Updated code

Signed-off-by: Ben Ryerson <benryerson@gmail.com>