Removed trailing ", expanded code into block