placeholder text in form helper
working code on algorithm refactored