removed blank lines, added default alpha param