added input parameter as seed value to constant