Added optional parametr in constructor