Adding Submit bug funtionality