Firstly, I don't really see what the connection is between the first code snippet and the second, unformatted one. Secondly, why do you think you need to condense either of them to one line?

Are...