Removed unnecessary panic stmt