changed data type from std_logic to std_ulogic