implemented release and debug