trying to beautiful a little this code.