Fixed syntax
Added print statement & tidied docblock